package com.gs.synedocket.db.query;

public class BaseQuery {

    private Boolean isPage;
    private String keyWord;
    private int pageIndex;
    private int pageSize;

    public void init() {
        this.pageIndex = 1;
        this.pageSize = 10;
        this.isPage = true;
    }

    public Boolean getPage() {
        return isPage;
    }

    public void setPage(Boolean page) {
        isPage = page;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
